Determining electrical compatibility and/or configuration of devices in a pre-boot environment

ABSTRACT

In at least some embodiments, a system comprises a plurality of electrical devices and management logic coupled to the electrical devices. While the electrical devices are each in a pre-boot environment, the management logic obtains information from the electrical devices and uses the information to determine electrical compatibility of, and/or configure, the electrical devices.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims the benefit of provisional patent application Ser. No. 60/813,750, filed Jun. 14, 2006, entitled “Configurable Computer and Network Equipment,” which application is incorporated by reference herein as if reproduced in full below. This application may also contain information related to the subject matter of an application entitled “System Having Primary and Secondary Backplanes,” Attorney Docket No. 200602397-1, also incorporated herein by reference.

BACKGROUND

Many computing systems comprise multiple electrical devices coupled together. Examples of such devices include computers (e.g., servers), switches, etc. Many data centers include hundreds or thousands of computers, switches, etc. coupled together in multiple equipment racks.

Electrically coupling such devices together can be a huge undertaking in and of itself. Electrical cables can be used to connect the devices together but can result in a mass of cables that should be individually tagged and identified. Cables also have a substantial cost and weight to the equipment racks in which the devices typically reside.

Another choice for interconnecting electrical devices (computers, switches, etc.) besides cables, is the use of a “backplane.” A backplane comprises a printed circuit board (PCB) containing conductive traces and connectors. The various electrical devices have corresponding connectors. As an electrical device is installed, the electrical device's connector mates to the backplane's connector thereby electrically coupling the electrical device to the backplane. The traces on the backplane couple the electrical devices together as desired.

While backplanes reduce or eliminate the need for cables, the use of backplanes unfortunately reduces flexibility in terms of where the devices can be installed. In some situations, it is possible that certain types of electrical devices should not be connected together. For example, connecting certain devices may result in a transmitter of one device undesirably being electrically coupled to a transmitter of the other device, rather than a receiver. Using cables as the connectivity medium, the devices can be installed virtually anywhere and a technician simply connects the cables to where ever the devices are installed. The use of cables generally precludes device mismatches from occurring. If a backplane is used in a rack as the connectivity mechanism among devices, it may be necessary to dedicate certain slots in the rack to ensure that device connectivity errors do not occur. Dedicating slots in a rack for a specific use reduces the flexibility of a user to install electrical devices as he or she would otherwise desire.

Another problem is characteristic of electrical devices whose configuration can be changed. To change the configuration of a server that is currently in an “off” state, such a server would typically have to be booted up (initialized) for the purpose of changing the configuration. Many configuration settings, however, are only implemented during the boot process. Thus, a computer whose configuration settings have just been changed must be re-booted for the new configuration settings to take effect. Such computers, therefore, must be booted twice-once to change one or more configuration settings and a second time to cause the new settings to be implemented.

BRIEF DESCRIPTION OF THE DRAWINGS

For a detailed description of exemplary embodiments of the invention, reference will now be made to the accompanying drawings in which:

FIG. 1 shows a system in accordance with various embodiments;

FIG. 2 illustrates multiple servers coupled to a switch via a backplane in accordance with various embodiments;

FIG. 3 illustrates multiple servers coupled to a switch via a backplane and the determination of end-to-end channel characteristics in accordance with various embodiments;

FIG. 4 illustrates a server having multiple mezzanine cards coupled to a switch via a backplane in accordance with various embodiments;

FIG. 5 illustrates a method of determining electrical device compatibility and configuring the electrical devices in accordance with various embodiments;

FIG. 6 is a block diagram of an electrical device in accordance with various embodiments;

FIG. 7 illustrates an embodiment of a fabric interface parameter (FIP) dataset;

FIG. 8 illustrates a method of configuring an electrical device using FIP data;

FIG. 9 is an alternative block diagram of an electrical device in accordance with various embodiments;

FIG. 10 shows a side view of electrical devices mated to a backplane in accordance with various embodiments;

FIG. 11 shows a side view of electrical devices mated to primary and secondary two backplanes in accordance with various embodiments; and

FIG. 12 illustrates an embodiment of secondary backplanes comprising non-volatile storage for storing FlPs data.

NOTATION AND NOMENCLATURE

Certain terms are used throughout the following description and claims to refer to particular system components. As one skilled in the art will appreciate, computer companies may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following discussion and in the claims, the terms “including” and “comprising” are used in an open-ended fashion, and thus should be interpreted to mean “including, but not limited to . . . . ” Also, the term “couple” or “couples” is intended to mean either an indirect, direct, optical or wireless electrical connection. Thus, if a first device couples to a second device, that connection may be through a direct electrical connection, through an indirect electrical connection via other devices and connections, through an optical electrical connection, or through a wireless electrical connection.

DETAILED DESCRIPTION

The following discussion is directed to various embodiments of the invention. Although one or more of these embodiments may be preferred, the embodiments disclosed should not be interpreted, or otherwise used, as limiting the scope of the disclosure, including the claims. In addition, one skilled in the art will understand that the following description has broad application, and the discussion of any embodiment is meant only to be exemplary of that embodiment, and not intended to intimate that the scope of the disclosure, including the claims, is limited to that embodiment.

FIG. 1 illustrates an embodiment of a system 50 comprising a backplane 52 to which multiple electrical devices 54 and 56 and management logic 60 can be coupled. The term “electrical device” comprises any device, piece of equipment, etc. that couples to the backplane 52 and, through the backplane, electrically couples to at least one other device also coupled to the backplane. In the illustrative embodiment of FIG. 1, electrical devices 54 comprise computers (e.g., servers) and electrical devices 56 comprise switches, although the electrical devices 54, 56 can be devices other than servers and switches.

Each server 54 comprises a connector 59 that mates to a corresponding connector 57 provided on the backplane 52. Similarly, each switch 56 comprises a connector 63 that mates to a corresponding connector 61 provided on the backplane 52. In some embodiments, each server 54 is provided in “blade” form and slides into a slot in an equipment rack in which the backplane 52 is mounted. The server's connector 59 blind-mates to the backplane's connector 57. The switches 56 also blind-mate to the backplane in a similar fashion.

The backplane 52 comprises a printed circuit board (PCB) that comprises multiple conductive traces that enable the various electrical devices (servers 54 and switches 56) to be communicatively coupled together in a desired arrangement. For example, various of the servers 54 may be coupled to a switch 56 through the backplane 52, while other servers couple to a different switch.

Referring still to FIG. 1, system 50 also comprises a power supply subsystem 70. The power supply subsystem 70 comprises one or more power supplies that receive alternating current (AC) voltage (e.g., 110 VAC) and provides one or more direct current (DC) voltage levels to the various electrical devices 54, 56. As such, each electrical device 54, 56 need not contain its own power supply, thereby permitting each electrical device 54, 56 to be smaller than would otherwise be the case. The power supply subsystem 70 can selectively provide power to each of the electrical devices 54, 56, or to selective groups of electrical devices. The power supply subsystem 70 thus provides a centralized power distribution subsystem for the system 50.

The power supply subsystem 70 of FIG. 1 provides at least two separately controlled output supply voltages 72, 74 through the backplane and to the electrical devices 54, 56. The supply 72 is labeled “main” and the supply 74 is labeled “auxiliary.” The main supply 72 provides the main power to turn on, boot up, and operate the electrical devices 54, 56 and is at least partially under the control of the management logic 60. The management logic 60 provides a signal to the power supply subsystem 70 to direct the power supply subsystem to turn on the main supply 72 to the select electrical devices 54, 56. The main supply 72 may comprise multiple individual voltage supply feeds to various subsets of electrical devices. The management logic 60 can thus cause the power supply subsystem 70 to turn on various subsets of electrical devices 54, 56.

In at least some embodiments, even if the main supply 72 is off, the power supply subsystem 70 provides auxiliary supply 74 to a subset of the components within each electrical device 54, 56 as long as the AC power is provided to the power supply subsystem 70. That is, in at least some embodiments the auxiliary supply 74 is always on. The auxiliary supply 74, however, is not provided to all of the electrical components (e.g., processors, memory, etc.) within a server or switch and thus generally is not usable to fully power on and boot up the server or switch.

In some embodiments, the main supply 72 is provided to all devices 54, 56, etc., and each device generates its own auxiliary voltage from the main supply. In such embodiments, the main supply 72 is always on, as long as the power supply subsystem 70 is on, and provided to each device. Each device in this embodiment is selectively permitted to boot up via a signal from the management logic 60. Further, the auxiliary supply for each device is generated internally to each device and, in some embodiments, is always active even if the device is otherwise not initialized.

Each server 54 shown in FIG. 1 comprises control logic 80 coupled to a non-volatile storage (NVS) device 82. Each switch 56 also comprises a control logic 90 coupled to a NVS device 92. The backplane 52 comprises a NVS device 95 as well. Through the backplane 52, the management logic 60 couples to and can access the information stored on the NVS devices 82, 92, and 95. In accordance with various embodiments, the management logic 60 and NVS devices 82, 92, and 95 receive the auxiliary supply voltage 74 and thus are active and readable even when the electrical devices 54, 56 are otherwise off and thus not booted up.

While one or more or all of the electrical devices 54, 56 are in a “pre-boot” environment, the management logic 60 obtains information from the various NVS devices 82, 92, and 95, determines compatibility among various of the electrical devices coupled to the backplane 52, and configures the various electrical devices. A pre-boot environment of an electrical device is an environment of the device before the device has been booted. The electrical devices, in the illustrative embodiments, receive auxiliary supply voltage 74, at least for the NVS devices 82, 92 which thereby permits the NVS's contents to be read while the electrical device is in a pre-boot environment. The information stored on the NVS devices 82, 92 comprises information such as the device type, the configuration and the channel characteristics of the electrical device. The device type information can be read by the management logic 60 and used by the management logic, as explained below, to determine compatibility between electrical devices 54, 56. NVS device 95 comprises trace routing information of the backplane 52 that specifies which connectors on the backplane 52 are connected together. Alternatively, the management logic 60 contains pre-coded routing information for the back plane 52, or multiple back planes, and in the case of multiple back planes simply needs to know which back plane is present in the system (such information can be obtained from NVS 95.) From this routing information, the management logic 60 can determine which electrical devices 54, 56 would be coupled together upon boot up. If certain electrical devices, which would otherwise be electrically coupled to one another via backplane 52, are determined to be incompatible with each other, the management logic 60 programs certain configuration values into the NVS devices of such electrical devices that preclude the devices from electrically coupling to each other once powered on by the application of the main supply voltage 72. For example, a port on an electrical device 54 coupled to the backplane 52 may be disabled thereby preventing electrical connectivity to/from that device's port.

Aside from ensuring proper compatibility and preventing incompatible devices from coupling to each other, the management logic 60 also determines and provides configuration parameters to one or more of the electrical devices 54, 56 for other purposes. Such configuration parameters comprise, for example, a hardware “alias” for a server to replace that server's medium access control (MAC) address, characteristics regarding the nature of the communication channels between devices 54, 56, a boot target device's address, a port enable/disable value, and combinations thereof. Different or additional configuration parameters can be provided as well.

If a pair of electrical devices 54, 56 are determined not to be compatible with each other and would otherwise be coupled together via the backplane 52, a port disable value (e.g., bit) is written to at least one of, or both, of the incompatible electrical devices to disable their ports. In this way, two incompatible electrical devices are not permitted to be electrically connected to one another via a backplane that otherwise enable such devices to be connected to one another. If, on the other hand, the devices are compatible, then a port enable bit is set to permit the ports to be enabled and thus the devices to be connected together. In some embodiments, a port is disabled by default, unless a port enable bit is specifically set, that is, a port disable bit need not be set by the management logic 60.

The hardware alias is provided to the electrical device and is used by the electrical device to replace, for example, a MAC address. Such MAC addresses are programmed into the electrical device at the factory, but are replaced in some embodiments with a hardware alias value provided to the electrical device by the management logic 60. Replacing the MAC address with a hardware alias permits fast and easy reconfiguring of the system (e.g., the switches) as a server 54 is moved from one location in an equipment rack to another. More information as to the use of such a hardware alias can be as provided in accordance with, for example, the N-port Identifier Virtualization (NPIV) standard.

Each electrical device 54, 56 contains one or more components (e.g., Ethernet network interface controller (NIC) device and Fibre Channel Host Bus Adapter) capable of booting the electrical device. Each such component that can boot the electrical device has access to boot code (i.e., executable code that causes that component to boot the electrical device). One of the pieces of programmable configuration contained in the electrical device is the address of the boot code for a given component. Thus, the management logic 60 can program a boot target network address (e.g., IP address for an iSCI system Area Network (SAN) target, World-Wide Name for a Fibre Channel Target) for a given electrical device.

As noted above, another configuration parameter type comprises channel characteristics, that is, the characteristics of the communication channels between electrical devices via the backplane 52. The channel characteristics are used to configure the transmitters and/or receivers for improved signal integrity. An example of a channel characteristic is the length of the conductive traces from a transmitter on one electrical device to a receiver on a receiving electrical device. FIGS. 2-4 illustrate the use of such channel characteristic parameters. In FIG. 2, two servers 54 are shown coupled through backplane 52 to a switch 56. The servers 54 are labeled as Server-1 and Server-2. Each server 54 comprises a PCB on which some or all of the server's electronic components are mounted. In some embodiments, a server's PCB is referred to as a “system” or “mother” board. FIG. 2 illustrates that the NVS device 82 is mounted on the PCB of each server 54. Also shown is an illustrative transmitter mounted on each server's PCB. As shown, the Server-1 and Server-4 PCBs include transmitters 100 and 108, respectively. In at least some embodiments, each signal line from the server 54 on which a signal is transmitted includes a transmitter. Each transmitter drives the signal. The signals are routed from the server PCB, to the connectors 59, 57, through the backplane 52, and through connectors 61, 63 to the switch's PCB.

In the example of FIG. 2, transmitters 100 and 108 both transmit signal to the same switch 56. The switch 56 comprises a receiver for each of the corresponding transmitters. Switch 56 thus comprises a receiver 110 that receives signals driven by transmitter 100, as well as a receiver 112 that receives signals driven by transmitter 108.

The distances traveled by the signals from their transmitters 100, 108 to the corresponding receivers 110, 112 are illustrated in FIG. 2 by the letter designations A, B, C, D, and E. As shown, the signal from transmitter 100 to receiver 110 travels a distance A from the transmitter 100 to the connectors 59, 57, then a distance B across the backplane 52 to the other pair of connectors 61, 63, and finally a distance C across the switch's PCB to the receiver 110. The total distance traveled is thus approximately A+B+C. In a similar fashion, signals from transmitter 108 travel a distance of A to connectors 59, 57, then a distance D across the backplane 52 to the other pair of connectors 61, 63, and finally a distance E across the switch's PCB to the receiver 112—a total distance of A+D+E.

Each electrical device 54, 56 has one or more ports. The servers 54 are shown in FIG. 2 having the ports labeled as “port 1,” while switch 56 has two ports labeled as “port 1” and “port 4.” Each NVS device 82, 92, 95 is programmed with information that is indicative of the distances across the relevant PCB from point to point that a signal travels. For example, the NVS device 82 of Server-1 includes the distance A (or a representative value for A) indicating the distance from transmitter 100 to the server's port 1. This information is designated by reference numeral 120. Similarly, the NVS device 82 of Server-4 includes the distance A indicating the distance from transmitter 108 to port 1 (reference numeral 122). In the example of FIG. 2, the distance from each of the transmitters 100, 108 to the connectors 59 is thus approximately the same. The NVS device 92 of the switch 56 illustrated in FIG. 2 includes two distances C and E to indicate the distances from ports 1 and 4 of the switch to each of the receivers 110, 112, respectively (reference numeral 124). Further still, the backplane's NVS device 95 stores distances B and D indicating the distances across the backplane for each of the two signal lines depicted in the example of FIG. 2 (reference numeral 126).

The values A, B, etc. programmed into the various NVS devices are programmed at the factory during manufacturing of the various electrical devices 54, 56 and backplane 52. What is not known at the time of manufacturing of the individual electrical devices 54, 56, and backplane 52 is the total end-to-end (“E2E”) distances from transmitter to receiver. The E2E distances are not known until the various electrical devices 54, 56 are installed in the rack and connected to the backplane 52.

The management logic 60 reads the distance values from the various NVS devices 82, 92, and 95 and determines channel characteristics based on such values. In at least some embodiments, the management logic reads the distance values and determines the channel characteristics automatically (i.e., without user involvement). The channel characteristics are used to program the various transmitters 100, 108 and/or receivers 110, 112. In at least some embodiments, the channel characteristics comprise the various lengths of the individual segments comprising the conductive pathways between pairs of transmitters and receivers. Once the management logic 60 determines the lengths of the constituent conductive pathway segments, the management logic 60 provides the length values to each electrical device for storage in the respective NVS devices. FIG. 3, for example, illustrates that the lengths A, B and C have been stored by the management logic 60 in the NVS device 82 of Server-1, and the lengths A, D and E have been stored in the NVS device 82 of Server-4.

In other embodiments, the channel characteristics are computed by adding together the various lengths that comprise conductive pathways from transmitters to receivers, and programming the total distances into the respective NVS devices. In the example of FIG. 2, the total conductive pathway length from transmitter 100 to receiver 110 is A+B+C, while the total conductive pathway length from transmitter 108 to receiver 112 is A+D+E. In yet other embodiments, the channel characteristics comprise insertion and reflection losses of various channel segments.

The channel characteristic that is determined for each electrical device 54, 56 is used by that device to configure the transmitters in accordance with at least some embodiments. The configuration of the transmitters comprises configuring such parameters as the transmitter output voltage level, the amount of pre-emphasis, amount of de-emphasis, and combinations thereof. Pre-emphasis is a technique by which the leading portions of a voltage waveform are configured to have larger voltage swings than the trailing portions for the consecutive same-value bits. De-emphasis is a technique by which trailing portions of a voltage waveform have smaller swings than the leading portions for the consecutive same-value bits. The difference between pre-emphasis and de-emphasis is whether the leading portions have higher swings than the normal level (pre-emphasis) or whether the trailing portions have smaller swings than the normal level. Making the leading edges “stronger” permits the signal to retain higher frequency components as it travels through “lossy” channels. The programmability of a transmitter depends on the particular transmitter being used and the programmability that that transmitter affords.

During the pre-boot environment for one or more of the electrical devices, the management logic 60 determines the channel characteristics and stores such characteristics in the NVS devices 82 and 92. Subsequently, during the boot process of each electrical device 54, 56, the respective control logic 80, 90 configures the transmitters based on the channel characteristics programmed into the NVS devices 82, 92 by the management logic 60 in the pre-boot environment.

Instead of, or in addition to, configuring the transmitters as described above, the receivers can be configured in a similar manner if desired.

FIG. 4 illustrates a system in which server 54 comprises two “mezzanine” cards 120 and 122. Each mezzanine card 120, 122 comprises a PCB and mates to the server's PCB. A mezzanine card is an option card that is mounted to the server's motherboard and can be interchanged with other option cards. Further, each mezzanine card 120, 122 comprises one or more transmitters 115, 117 and a NVS device 124 and 126 as shown. Each mezzanine card comprises logic that performs a desired function. The mezzanine cards 120, 122 contain connectors 130 which mate to corresponding connectors 132 on the server's PCB. Each mezzanine card comprises a port (labeled as port “port 1”). The server 54 comprises three ports, labeled as port 1, port 2, and port 3. Port 1 of mezzanine card 120 couples to port 2 on the server, while port 1 of mezzanine card 122 couples to port 3 on the server. Server ports 1-3 couple across the backplane 52 to switch module ports 1, 2 and 3, respectively.

The signals from the transmitters 115, 117 travel across the mezzanine card, the server's PCB, the backplane PCB, and the switch's PCB to the corresponding receivers 110, 142, and 144. Thus, transmitter 100, which is mounted on the server's PCB transmits a signal which travels a distance A to port 1 on the server 54, then a distance B across the backplane 52 from the server's port 1 and the switch module port 1 and finally a distance C to the receiver 110, for a total distance of A+B+C. A signal from transmitter 115 on mezzanine card 120 travels a distance P to port 1 on the mezzanine card (at its connector 130), then a distance Q to port 2 of the server, then a distance R across the backplane between server port 2 and the switch module port 2, and finally a distance S to the receiver 142, for a total distance of P+Q+R+S. A signal from transmitter 117 on mezzanine card 122 travels a distance W to port 1 on the mezzanine card (at its connector 130), then a distance X to port 3 of the server, then a distance Y across the backplane 52, and finally a distance Z to the receiver 144, for a total distance of W+X+Y+Z.

Mezzanine cards 120 and 122 includes NVS devices 124 and 126, respectively, mounted on their respective PCBs. The server 54 also includes a NVS device 128 mounted on the server's PCB. Similarly, the backplane 52 and switch module 56 also comprise NVS devices 95 and 92, respectively. Each NVS device 124, 126, 128, 95 and 92 is programmed at the factory with the distances (or at least values representative of the distances) from the transmitters to the connectors on the associated PCBs. Thus, NVS device 124 is programmed with the distance P representing the distance from the transmitter 115 to port 1 of mezzanine card 120. Similarly, the NVS device 126 of mezzanine card 122 is programmed with the distance W representing the distance from the transmitter 117 to port 1 of mezzanine card 122. The backplane's NVS device 95 is programmed with the distances B, R and Y representing the distances between server ports 1-3 and corresponding switch module ports 1-3. The switch module's NVS device 92 is programmed with the distances C, S, and Z representing the distances from the switch module port's 1-3 and the various transmitters 110, 142 and 144.

As described above, the management logic 60 reads the distance values from each of the NVS devices and computes whatever channel characteristic is suitable for use in configuring the various transmitters and/or receivers. In some embodiments, the computed channel characteristic may comprise a list of the distances between connectors (e.g., A, B, C for the channel between transmitter 100 and receiver 110) or the total distance between transmitter and receiver (e.g., A+B+C for the channel between transmitter 100 and receiver 110).

FIG. 5 shows an illustrative method 150 in accordance with at least some embodiments. In accordance with method 150, the management logic 60 determines the types of electrical devices 54, 56 coupled together via the backplane 52 (action 152). At 154 of method 150, the management logic determines whether electrical devices 54, 56, that would otherwise be electrically coupled together via the backplane 52, are compatible. One example of incompatibility is a transmitter of one electrical device being coupled to a transmitter of another electrical device, rather than to a receiver. At 156, management logic 60 provides configuration information to each of the various electrical devices in the NVS devices. The configuration information comprises, for example, a port enable/disable request. Such a request sets a bit that dictate4s whether a port of the electrical device is to be enabled if the electrical device is compatible with another electrical device connected to it via the backplane 52 or disabled if the electrical devices are incompatible. Other types of configuration information are discussed above. At 158, each of the electrical devices is caused to boot up. During the boot process of each electrical device, in some embodiments, the configuration information previously stored in that electrical device's NVS device by the management logic 60 is accessed and used by control logic in the electrical device to configure the electrical device.

FIG. 6 shows an illustrative embodiment of an electrical device 54. The electrical device shown in FIG. 6 comprises, for example, a server but the architecture of FIG. 6 is applicable to other types of electrical devices as well. The server 54 shown in FIG. 6 comprises a processor 172, memory 174, a baseband management controller (BMC) 176, a system read only memory (ROM) 170 as well as a mezzanine card 120 and a NVS device 126. The mezzanine card 120 comprises a controller 160, a device option ROM 162, device non-volatile memory 164, and NVS device 124. The system ROM 170 contains a pre-boot execution environment such as a unified extensible firmware interface (UEFI) or a basic input/output system (BIOS) which comprise code executable by processor 172.

The server 54 receives the main supply voltage 72 (when the server is to be powered on) and the auxiliary supply voltage 74. As noted above, the auxiliary supply voltage 74, in at least some embodiments, is always on, even if the main supply 72 is off, as long as the power supply subsystem 70 receives AC input power. In some embodiments, the auxiliary supply voltage 74 is provided to the NVS devices 124, 126 and the BMC 176. Thus, the NVS devices 124, 126 and the BMC 176 are operational even if the server 54 is otherwise powered off and/or in a non-operational state. Any or all components in the electrical device that receive main supply voltage and not the auxiliary supply voltage comprise the electrical device's control logic (FIG. 1), which is also referred to as “core” logic.

The BMC 176 provides a management port 177 which can couple to the management logic 60 via the backplane 52. The BMC 176 can also read data from and/or write data to the NVS devices 124 and 126. As such, when the management logic 60 reads the server's configuration information, the management logic 60 submits a read request across the backplane 52 to the desired server 54. The read request is received by the server's BMC 176 which, in turn, reads the NVS device 124,126. The information so read by the BMC 176 is then provided back to the management logic 60. The same interaction also occurs between the management logic 60 and the other electrical devices such as the switch(es).

The information stored in the NVS devices is referred to as “fabric interface parameters” (FlPs). An illustrative embodiment of a FIP data set stored in a NVS device is shown in FIG. 7 as FlPs 200. The FlPs 200 shown in FIG. 7 comprises device information 202, header 204, option ROM code 206, commands 208, and status 210. In some embodiments all of the portions 202-210 shown in FIG. 7 are provided in the FlPs, while in other embodiments, fewer than all of the constituent portions, or different information, are provided.

In some embodiments, the device information 202 is provided in accordance with, for example, the Intelligent Platform Management Interface (IPMI) protocol. The IPMI protocol defines a format for manufacturer's information. The IPMI data fits within 512 bytes of storage and provides such information as product information which specifies the type of electrical device (e.g., server), channel characteristic information, and chassis information. Other or different information may be included as well. The device information 202 is used by the management logic 60 to determine device type for assessing compatibility between the devices. In some embodiments, the management logic 60 is programmed with device types that are known to be incompatible. In other embodiments, the management logic 60 is programmed with pairs (or more) of device types that are known to be compatible. In such embodiments, all other device type pairs are deemed by the management logic 60 to be incompatible by default.

As noted above, the device information 202 also comprises channel characteristic information. The channel characteristic information may comprise the length information, explained previously, defining the distances between the transmitters and the ports on the relevant devices. For example, the device information 202 of the mezzanine card's FlPs (stored in NVS device 124) contains the distances between, for example, the transmitters in the controller 160 and the mezzanine card's connector to the server's PCB. The device information 202 of the server's PCB (stored in NVS device 126) contains the distances between, for example, server's connector 132 (which receives signals from the mezzanine card 120) and server's port that mates to the backplane 52.

Referring still to FIG. 7, the header information 204 comprises offsets to the beginning of each of the option ROM code 206 and the command and status areas 208 and 210. The option ROM code 206 comprises code that is executable by, for example the processor 172 and will be described below. The command area 208 comprises one or more commands received from the management logic 60 that are performed by the server 54 to configure the server. At least some, or all, commands will result in a status message indicating the status of the command after being performed. For each command 208 that has a status message, the corresponding status message will subsequently be stored in the status area 210 by the system ROM 170 via the processor 172 and the BMC 176.

When the management logic 60 requests the BMC 176 to provide the device type, the BMC 176 accesses the FlPs information stored in the NVS devices provided in the server 54. In the example of FIG. 6, the server 54 comprises two NVS devices 124 and 126. The NVS device 124 is provided on the mezzanine card 120 and the NVS device 126 is provided on the server's PCB (e.g., system board). The FlPs contained in the NVS device 124 comprises FlPs information related to the mezzanine card in which the NVS device 124 is located, while the FlPs contained in the NVS device 126 comprises FlPs information related to the server's PCB or devices on the server's PCB. As explained above, the FlPs information stored in NVS devices 124, 126 in part collectively define the distances involved for signals to traverse from each source transmitter (provided in controller 160) to the server's external port. The NVS device 126 also provides information that defines the type of server from which the management logic 60 can determine inter-device compatibility. The NVS device 124 provides device type information regarding the mezzanine card itself and such information may be used by the management logic 60 as well in determining compatibility.

After reading the FlPs information from each electrical device (e.g., server 54) and determining compatibility, the management logic 60 generates configuration parameters to provide to each such electrical device. In accordance with various embodiments, the management logic 60 provides the configuration parameters in the form of commands and provides such commands to each electrical device to be stored in the FlPs command area 208. Each configuration command 208 contains a configuration parameter. Multiple configuration commands, and thus multiple configuration parameters, can be provided in the command area 208 of one FlPs data set 200. In at least some embodiments, an electrical device can receive and store multiple (e.g., 8) FlPs data sets 200. Upon receiving a FlPs data set 200 from the management logic 60, the BMC 176 stores the FlPs data set 200 in the NVS device 124, 126 associated with that particular FlPs. In at least some embodiments, each FlPs data set 200 is assigned by, for example, the management logic 60 or the respective electrical device, a FlPs identification number (FIN) that uniquely distinguishes one FlPs data set from another. Each electrical device is pre-programmed with an association between FINs and the NVS devices in which each such FlPs is to be stored. The logic in the electrical device that receives each FlPs data set 200 from the management logic 60 examines the FIN contained therein and stores the received FlPs data set in a NVS device that has previously been assigned to that particular FlPs data set. The ROM code for each electrical device comprises details regarding that device's layout (e.g. how the embedded components and the mezzanine cards are connected). Thus, the ROM code contains information as to how to associate a FIP's data set with a set of components, for example, on a mezzanine card. In some embodiments, a Peripheral Bus Interconnect (PCI) addressing scheme is used. Such a PCI addressing scheme uses bus number, device number, and function number. An ascending FIN is associated with the function number.

The commands 208 are provided in accordance with any suitable format. In at least one embodiment, the mezzanine card 120 comports with the peripheral component interconnect (PCI) protocol. Further, the electrical device implements the PCI Firmware 3.0 (PCIFW3) protocol for transferring information between the BIOS 170 and the devices option ROM 162 on the mezzanine card 120.

The management logic 60 reads the FlPs information from the various NVS devices in the system, determines compatibility among the relevant electrical devices 54 and 56, and provides configuration parameters to the various electrical devices in accordance with, for example, the compatibility determination and channel characteristics involved across the various PCBs. The management logic 60 performs these actions while the various electrical devices 54, 56 are in a pre-boot environment.

Once an electrical device 54, 56 receives the main supply voltage 72, the electrical device begins its boot process. The boot process for an electrical device 54, 56 comprises various actions at least one of which is configuring the device. The configuration of the device comprises configuring the device using the various configuration parameters provided to the device by the management logic 60 during the pre-boot environment.

FIG. 8 shows an illustrative method embodiment 300 for an electrical device (e.g., a server) to configure itself using the management logic-provided configuration parameters. At 302, the BIOS code scans all scannable components within the server and assigns FlPs identification numbers (FINs) to each device found during the scan. At 304, the BIOS loads each option ROM code 162 present into the memory 174. At 306, the BIOS interrogates each such option ROM code 162 to determine whether the code supports a command line protocol (CLP) entry point in accordance with the PCFW3 protocol. If a CLP entry point is not supported by the option ROM code (as determined at decision 308), control passes to decision 324 in which the BIOS determines whether another option ROM code is present. If another option ROM code is present, control loops back to 304. If another option ROM code is not present, then control passes to block 326 in which the BIOS performs option ROM code initialization and otherwise continues with the boot process.

Referring back to decision 308, if a CLP entry point is supported, then at 310 the BIOS locates the FIN for each interface port (Port 1, etc.). At 312, the BIOS obtains the CLP string commands by, for example, requesting the BMC 176 to read the CLP commands from the relevant NVS's FlPs. At 314, the BIOS calls the CLP entry point for each CLP command and at 316, the option ROM code 162 interprets the command and stores the parameters in the device's non-volatile memory 164 or in registers. At 318, the option ROM code 162 returns the status string associated with the CLP string and the CLP support level of the option ROM code, and the BIOS at 320 sends the status string to the BMC 176 to store it in the FlPs in the NVS device 124. At 322, if the CLP support level of the option ROM code is different from the FIP's CLP support level, then the BIOS sends the new CLP support level of the option ROM code to the BMC 176 to store it in the NVS device 124. This updated CLP support level will be read by the management logic 60 in future transactions to determine the capability of the device. Control then passes to decision 324 (described above).

As explained above, each command 208 is performed using, for example, the option ROM code 162 of a relevant mezzanine card. Performing the command comprises, for example, loading the configuration information contained in that command into storage (e.g., device-non-volatile memory 164, registers, etc.) suitable for storing such configuration information. Once the configuration information is loaded into the appropriate location, the electrical device completes the configuration process. For example, if a configuration value is to disable a particular port in the electrical device due to detection by the management logic of an incompatibility problem, such a port is disabled. If the configuration information comprises end-to-end channel characteristics, such information is used to program the relevant transmitters and/or receivers. Further still, the configuration information may comprise a hardware alias which is used to replace the factory-provided MAC address as explained previously.

The mezzanine card 120 comprises option ROM code that is used in the method 300 of FIG. 8 to configure the electronics on the mezzanine card in accordance with the configuration parameters provided by the management logic 60. The mezzanine card's option ROM code may be provided on the mezzanine card in ROM 162 apart from the NVS device that contains the FlPs. In some embodiments, however, a FIP dataset itself comprises the option ROM code as illustrated in FIG. 7 (option ROM code 206). This embodiment is useful in situation, for example, in which the mezzanine card does not have any option ROM code, such as a bus repeater dip.

In at least some embodiments, the mezzanine cards may not comprise the NVS devices that contain the FlPs. Instead, as shown in FIG. 9, a NVS device 380 is provided on the server's PCB. The NVS device 380 comprises a centralized repository for FlPs for all devices within the server 54. For the embedded devices, the system ROM has most or all of the information of the system layout to associate the embedded fabric interface devices' ports with the FlPs by assigning the FINs. For the mezzanine cards, the electrical device (e.g., server) is powered on at least enough to discover the option devices that are present, obtain the device information from the PCI configuration space, and program the NVS 380 with the mezzanine cards' devices' information, and then power down the electrical device. The system BIOS obtains the mezzanine cards' information (FlPs) which may have been hard-coded into the mezzanine card, and provides the information to the BMC 176 which, in turn, stores the information in system NVS 380. Once stored in NVS 380, the method described herein are used to retrieve the mezzanine card's information from NVS 380, and provides the information to the management logic 60 for use as described herein. The FIN is a mechanism by which the FlPs dataset of, for example, a mezzanine card can be associated with the mezzanine card logic despite the FIPS dataset not be stored with the card.

This “boot-to-discover” step can be commanded by the management logic 60, where the associated BMC for each server can control the powering of the server at the lowest state and communicate with the BIOS to determine when to shut down the server after the NVS 380 is programmed with the mezzanine cards' devices' information.

FIG. 10 illustrates a side view of electrical devices 54 (e.g., server) and 56 (e.g., switches) mated to connectors on the backplane 52. The electrical device 54 shown in FIG. 3 comprises a pair of connectors 59 mated to corresponding connectors 57 provided on the primary backplane. In the example of FIG. 10, switches 56 mate to an opposing side of the backplane 52. Each switch 56 comprises a connector 63 that mates to a corresponding connector 61 provided on the backplane 52. As can be seen in the illustrative embodiment of FIG. 10, electrical devices 54 and 56 mate to opposing sides of the backplane 52.

In accordance with various embodiments and as further explained in U.S. Patent Application entitled “System Having Primary and Secondary Backplanes,” Ser. No. ______ (Attorney Docket No. 200602397-1) and incorporated herein by reference, electrical device 54 comprises a “cut-out” area 480. In the embodiment of FIG. 10, the cut-out area is defined by edges 482, 484, and 486, where edge 484 is orthogonal to edges 482 and 486 and parallel to the edge 488 of the electrical device 54. Thus, the illustrative cut-out area 480 in FIG. 10 is generally square or rectangular in shape. When the electrical device 54 is mated to the backplane 52, the cut-out area 480 corresponds to a surface region of the primary backplane which is generally devoid of any components that would interfere with the installation of another backplane.

FIG. 411 illustrates a side view of the electrical device 54 mated to the backplane 52 and also to another backplane 500. Backplane 52 is referred to as a “primary” backplane and backplane 500 is referred to as a “secondary” backplane. The term “secondary,” however, should not be construed to impart any functional limitations on the nature of the backplane 500. The term “secondary” is used merely to distinguish the backplanes 52 and 500 from each other.

The secondary backplane 500 of FIG. 11 comprises a PCB having two or more connectors that mate to corresponding connectors provided on the electrical device 54 in the cut-out area 480. FIG. 11 shows the secondary backplane having a connector 405 mated to a corresponding connector 404 provided on the electrical device 54. In accordance with at least some embodiments, the secondary backplane 500 mates to the primary backplane 52 via only a mechanical mechanism (e.g., standoffs 402). In some embodiments there is no electrical connectivity between the backplanes 52 and 500, although in other embodiments, electrical connectivity between backplanes may be provided.

In the example of FIG. 11, the electrical device 52 mates to two backplanes-primary backplane 52 and secondary backplane 500—via multiple connectors 59 and 404. In accordance with various embodiments, the primary backplane 52 functions to interconnect the switch modules 56 to the various electrical devices 54.

The secondary backplane 500 communicatively interconnects (e.g., electrical interconnection, optical interconnection) only those electrical devices 54 that connect to the secondary backplane 500. Each secondary backplane 500 can be constructed to interconnect any desired number of electrical devices 54. FIG. 12, for example, illustrates a pair of secondary backplanes 500 a and 500 b that each interconnect four electrical devices 54.

Referring still to FIG. 12, each such secondary backplane 500 a, 500 b can also be provided with a NVS device 510. NVS device 510 for each secondary backplane 500 a, 500 b provides information regarding that backplane's layout and channel characteristics as described above. Each NVS device 510 is connected to the management logic 60 via the primary back plane 52. Moreover, a system may have multiple backplanes with each backplane comprising one or more NVS devices that contain FlPs information and used to determine compatibility.

The above discussion is meant to be illustrative of the principles and various embodiments of the present invention. Numerous variations and modifications will become apparent to those skilled in the art once the above disclosure is fully appreciated. It is intended that the following claims be interpreted to embrace all such variations and modifications. 

1. A system, comprising: a plurality of electrical devices; and management logic coupled to said electrical devices; wherein, while said electrical devices are each in a pre-boot environment, said management logic obtains information from said electrical devices and uses said information to determine electrical compatibility of said electrical devices.
 2. The system of claim 1 wherein during the pre-boot environment of said electrical devices, said management logic provides configuration information to at least one of said electrical devices based, at least in part, on a result of the electrical compatibility determination.
 3. The system of claim 2 wherein, after providing said configuration information to said at least one electrical device, said at least one electrical device is booted up during which said electrical device is configured using said configuration information.
 4. The system of claim 2 wherein said configuration information includes a hardware alias value that, when said at least one electrical device boots up, subsequently replaces an address previously associated with that electrical device.
 5. The system of claim 1 wherein each electrical device comprises a programmable non-volatile storage device to store said information.
 6. The system of claim 5 wherein said management logic reads each programmable non-volatile storage device and determines said compatibility based on the information read from the non-volatile storage device.
 7. The system of claim 1 wherein said information comprises device type and said management logic determines compatibility based on at least the device type.
 8. The system of claim 1 wherein, if two or more electrical devices are determined to be incompatible with each other, said management logic programs a value in a non-volatile storage device in at least one of the incompatible electrical devices, said value indicating that a port of that electrical device is to be disabled upon boot up.
 9. The system of claim 1 wherein at least one electrical device comprises an option read only memory (ROM) code
 10. The system of claim 1 further comprising one or more non-volatile storage device, each such non-volatile storage device storing at least one dataset associated with a port in said system, each such dataset providing information regarding the associated port.
 11. A system, comprising: a baseboard management controller (BMC) configured to receive an auxiliary supply voltage; a non-volatile storage (NVS) accessible to said BMC, said non-volatile storage also configured to receive said auxiliary supply voltage; and core logic coupled to said NVS and said BMC and configured to receive a main supply voltage; wherein, when said main supply voltage is not provided to said core logic, said auxiliary supply voltage is provided to said NVS and said BMC such that said BMC is configured to receive and configuration commands from logic external to said system and store said configuration commands in said NVS when said core logic is not powered on by said main supply voltage.
 12. The system of claim 11 wherein, when said core logic is not powered on, said BMC responds to a request to read information from said NVS by submitting a read transaction to said NVS.
 13. The system of claim 12 wherein, when said core logic is not powered on, said BMC provides said information read from the NVS to a source of said request to read said information.
 14. The system of claim 11 wherein, when said core logic is not powered on, said BMC receives configuration parameters.
 15. The system of claim 14 wherein said BMC stores said configuration parameters in said NVS.
 16. The system of claim 14 wherein, when said main supply voltage is provided to said core logic, said core logic boots up during which said core logic configures said system in accordance with said configuration parameters.
 17. The system of claim 14 wherein said configuration parameters comprises parameters selected from a group consisting of a port enable/disable value, a hardware alias value, and a boot target address and combination thereof.
 18. A method, comprising: providing a request to a plurality of electrical devices for information indicative of at least device type; each electrical device receiving said request while each such electrical device is in a pre-boot environment; generating configuration parameters based at least on said device type; and providing said configuration parameters to said electrical devices.
 19. The method of claim 18 further comprising configuring each such electrical device during a boot process using said configuration parameters.
 20. The method of claim 18 wherein each configuration parameter comprises at least a parameter selected from a group consisting of a port enable/disable value, a hardware alias value, and a boot target address.
 21. The method of claim 18 further comprising locating a non-volatile storage device from among a plurality of non-volatile storage devices based on identifier values, each non-volatile storage device adapted to store information defining a port of an electrical device. 